package day02;
//boolean类型的演示
public class BooleanDemo {
    public static void main(String[] args) {
        //4)boolean:布尔型. 1个字节
        boolean a = true;   //true为布尔型直接量
        boolean b = false;  //false为布尔型直接量
        //boolean c = 250;    //编译错误, 布尔型变量中只能存储true或false

        //----------------------------------------------------------
        //第二遍
        /*
        boolean a = true;
        boolean b = false;
        boolean c = 250;
         */

        //第二遍
        /*
        boolean a = true;
        boolean b = false;
        boolean c = 250;
         */
    }
}
